package com.ikan.positionserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <b> DeviceUnit实体类
 * <br>Date: 2024-04-15
 * <br>Author : ikan
 */
@Data
@Accessors(chain = true)
public class DeviceUnit extends Model<DeviceUnit> implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 机柜ID
     */
    private Long rackId;

    /**
     * 机柜名称
     */
    private String rackName;

    /**
     * 序号
     */
    private Integer seq;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 更新人
     */
    private String updator;

}